export default {
    mounted() {
        this.getTableHeight();
    },
    methods: {
        getTableHeight() {
            var box = document.getElementsByClassName("mod-config")[0];
            var query = document.getElementsByClassName("queryData")[0];
            if (query) {
                this.tableConfig.height = box.clientHeight - query.clientHeight;
            } else {
                this.tableConfig.height = box.clientHeight;
            }
            console.log(this.tableConfig.height, 456);
        },
        reset() {
            for (var i in this.form) {
                this.form[i] = "";
            }
        },
        inquire() {
            this.tableConfig.params = Object.assign({}, this.form);
        }
    }
};
